package com.itc.access.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.itc.system.api.listener.FlowControlMsg;
import org.apache.ibatis.annotations.Insert;

public interface FlowControlMsgMapper extends BaseMapper<FlowControlMsg> {
    @Insert("INSERT INTO flow_control_msg (id,control_name,enabled_flag,is_temporary,remark,source,control_dep,uncontrol_dest,start_time,flow_id,control_point,tolerance,control_dest,control_route,control_source,ftmid,meger_to,is_ntfm,uncontrol_route,is_default,is_merge,uncontrol_dep,producer,interval_str,end_time,reason,ddtm,msgid,sndr,stype,type,create_time,ddtm2,stype2) " +
            "VALUES (#{id},#{controlName},#{enabledFlag},#{isTemporary},#{remark},#{source},#{controlDep},#{uncontrolDest},#{startTime},#{flowId},#{controlPoint},#{tolerance},#{controlDest},#{controlRoute},#{controlSource},#{ftmid},#{megerTo},#{isNtfm},#{uncontrolRoute},#{isDefault},#{isMerge},#{uncontrolDep},#{producer},#{interval},#{endTime},#{reason},#{ddtm},#{msgid},#{sndr},#{stype},#{type},#{createTime},#{ddtm2},#{stype2})")
    void addAll(FlowControlMsg flowControlMsg);
}
